#include<stdio.h>
#include<stdlib.h>

int main()
{
	FILE *fp;
	char file[20],ch;
	printf("please input filename:\n");
	scanf("%s",file);
	if((fp=fopen(file,"wb+"))!=NULL)
	{
		printf("file  has created!\n");
	}
	else
	{
		perror("file  has not created!");
		exit(-1);
	}
	fclose(fp);

	return 0;
}

